草庐IT

Running Gradle task ‘assembleDebug‘

全部标签

Unity3d2021版本 使用DOTween插件报错The type name ‘Rigidbody2D‘ could not be found in the namespace ‘****‘问题

问题最近在升级项目至2021版本的过程中发现了诸多这种问题,今天就遇到这样的报错:Assets\Plugins\Demigiant\DOTween\Modules\DOTweenModulePhysics2D.cs(143,18):errorCS1069:Thetypename‘Rigidbody2D’couldnotbefoundinthenamespace‘UnityEngine’.Thistypehasbeenforwardedtoassembly‘UnityEngine.Physics2DModule,Version=0.0.0.0,Culture=neutral,PublicKeyT

处理普通用户安装启动mysql报Can‘t find error-message file‘usrsharemysqlerrmsg.sys‘ 问题

操作系统:centos7mysql版本:5.7.29使用普通用户安装完成以后,启动mysql:/data/mysql/usr/sbin/mysqld--defaults-file=/data/mysql/etc/my.cnf--user=dongzw&日志中报:[ERROR]Can’tfinderror-messagefile'/usr/share/mysql/errmsg.sys’.Checkerror-messagefilelocationand‘lc-messages-dir’configurationdirective.大概搜索了一下,在my.cnf中添加basedir=/data/m

pip报TypeError: ‘type‘ object is not subscriptable错误

因为安装Manim库,中间下载colour组件时因为更新pip版本到23.1.2,与python3.9.0适配的pipversion19.2.3版本矛盾,导致后续无法正常使用python,出现如下报错:C:\Users\Lenovo>piplistTraceback(mostrecentcalllast):File"e:\etools\python3.9.0\lib\runpy.py",line193,in_run_module_as_mainreturn_run_code(code,main_globals,None,File"e:\etools\python3.9.0\lib\runpy.

org.springframework.context.ApplicationContextException: Failed to start bean ‘org.springframework.a

报错org.springframework.context.ApplicationContextException:Failedtostartbean'org.springframework.amqp.rabbit.config.internalRabbitListenerEndpointRegistry';nestedexceptionisorg.springframework.amqp.AmqpIllegalStateException:Fatalexceptiononlistenerstartup使用RabbitMq测试交换机、队列时候报的错苦思冥想一开始我以为是队列的监听器配置信息和监

com.fasterxml.jackson.core.JsonParseException: Unrecognized token ‘Alarm‘: was expecting (JSON Stri

最近在使用httpclient进行post时远程接口发生报错报错信息:org.springframework.http.converter.HttpMessageNotReadableException:JSONparseerror:Unrecognizedtoken'Alarm':wasexpecting(JSONString,Number,Array,Objectortoken'null','true'or'false');nestedexceptioniscom.fasterxml.jackson.core.JsonParseException:Unrecognizedtoken'Ala

Error: Cannot find module ‘@dcloudio/uni-i18n‘

用uni-app开发微信小程序,拉取项目后,使用npminstall后,在微信开发者工具中一直报下面这句错Error:Cannotfindmodule'@dcloudio/uni-i18n'反复安装了很多遍@dcloudio,@dcloudio/uni-i18n都不行,最后解决方法是,找到项目中uview-ui文件下的package.json,文件中有个sass-loader,把那一句的删掉微信开发者工具就不报错了,项目就出来了然后再撤销刚才的删除,项目也不会再报错了

在uniapp 小程序 vue中报 错 Cannot read property ‘substring‘ of undefined

是因是因为对字符串使用substring的时候页面中的数据还没有加载。错误代码:可以使用v-if修改为:

launch: program ‘c: \build\Debug\outDebug’does not exist问题成功解决

闲来无事,编写一个C语言程序,代码如下:#includeusingnamespacestd;intmain(){inta,b;cout>a;cout>b;cout想通过VScode调试一番,发现出现了以下的提示在网上找了许多方法,都没有成功,最后打算自己慢慢研究研究。。。我按照提示打开了launch.json文件{"version":"0.2.0","configurations":[{"name":"C/C++Runner:DebugSession","type":"cppdbg","request":"launch","args":[],"stopAtEntry":false,"exter

Python中常见的一个问题是“ModuleNotFoundError: No module named ‘yaml‘”,这个错误提示通常表示你的代码中缺少了名

Python中常见的一个问题是“ModuleNotFoundError:Nomodulenamed‘yaml’”,这个错误提示通常表示你的代码中缺少了名为yaml的python模块。如果你的项目中需要使用到yaml模块,那么你需要确保已经安装了这个模块。接下来,我们将介绍如何解决这个问题。第一步:确定错误的原因在执行代码时,如果遇到了“ModuleNotFoundError:Nomodulenamed‘yaml’”错误,应该先确认是否确实安装了yaml模块。可以通过在命令行中输入以下命令来检查:pipshowpyyaml如果输出结果中有类似“Name:PyYAML”的信息,则说明已经安装了Py

WARNING: Running pip as the ‘root‘ user can result in broken permissions

WARNING:Runningpipasthe‘root’usercanresultinbrokenpermissionsandconflictingbehaviourwiththesystempackagemanager.Itisrecommendedtouseavirtualenvironmentinstead:https://pip.pypa.io/warnings/venv解决方法如下,依次运行下面的两个代码,第一个是先验条件,第二个代码块是自己要实现的目标。#The--root-user-actionoptionisavailableasofpipv22.1.pipinstall--